

const menu = {
  state: {
    top_list: [],//顶部动态渲染活动路由按钮
    manage_list:[],//顶部动态渲染操作活动列表的按钮
    listType:''
  },
  getters:{
    listType:state=>state.listType,
    top_list:state=>state.top_list,
    manage_list:state=>state.manage_list
  },

  mutations: {
    SET_TOPLIST: (state, list) => {
      state.top_list = list
      
    },
    SET_MANAGELIST: (state, list) => {
      state.manage_list = list
    },
    SET_MANAGELISTType: (state, type) => {
      state.listType = type
    },
  },

  actions: {}
 

}



export default menu
